import 'package:flutter/material.dart';
import 'package:auto_route/auto_route.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:juming_test/config/app_router_path.dart';
import 'package:juming_test/config/home_images.dart';
import 'package:juming_test/routes/app_router.gr.dart';

@RoutePage()
class DiscoveryScreen extends StatelessWidget {
  const DiscoveryScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('发现'), centerTitle: true),
      body: Center(
        child: GestureDetector(
          child: Image.asset(
            HomeImages.homeQuickYmqzPng,
            width: 190.w,
            height: 65.w,
            fit: BoxFit.contain,
          ),
          onTap: () {
            context.router.pushPath(AppRouterPath.domainFilter);
          },
        ),
      ),
    );
  }
}
